package com.flyway.service.impl;

import com.flyway.dao.SqlLogMapper;
import com.flyway.pojo.sql.SqlLog;
import com.flyway.service.SqlService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SqlServiceImpl implements SqlService {
    @Autowired
    private SqlLogMapper sqlLogMapper;
    @Override
    public void insertSql(SqlLog sqlLog) {
        sqlLogMapper.insertSelective(sqlLog);
    }
}
